cmake_minimum_required(VERSION 3.10)

project(SerialSocket)

set(CMAKE_BUILD_TYPE debug)

set(SRCS 
    ${PROJECT_SOURCE_DIR}/srcs/crc16.cpp
    ${PROJECT_SOURCE_DIR}/srcs/SerialSocket.cpp
)

include_directories(
    ${PROJECT_SOURCE_DIR}/srcs
)

add_executable(testSerialSocket ${SRCS} ${PROJECT_SOURCE_DIR}/examples/test.cpp)

